patterns repeat